#include<stdio.h>


main(){
	int drawing[20][20];
	int i=0,j=0;
	for(i=0;i<20;i++){
		for(j=0;j<20;j++){
			drawing[i][j]=0;
		}	
	}
		printf("1 block: \n");
		for(i=0;i<20;i++){
			for(j=0;j<20;j++){
				printf("%d",drawing[i][j]);
			}	
			printf("\n");
		}
		printf("\n");
		
		for(i=0;i<20;i++){
			for(j=0;j<20;j++){
				if(i==0 || j==0 || j==19 || j==9 || j==10 || i==9 || i==10 || i==19){
					drawing[i][j]=1;
				}
			}	
		}
		
		//draw the floor
		printf("FLOOR: \n");
		for(i=0;i<20;i++){
			for(j=0;j<20;j++){	
				printf("%d",drawing[i][j]);
			}	
			printf("\n");
		}
		printf("\n");
		
	
		//reset to 0
		for(i=0;i<20;i++){
			for(j=0;j<20;j++){
				drawing[i][j]=0;
			}	
		}
		//end of reset to 0
		
		//draw human
		//still position
		for(i=0;i<20;i++){
			for(j=0;j<20;j++){
				if(i==0 || j==0 || j==19 || i==19){//border
					drawing[i][j]=1;
				}
				if(j>=7 && j<=12 && i<=14){	//the main body
					drawing[i][j]=1;
				}

				if(i>=13 && i<=16){	//legs
					if(j>=5 && j<=6)	drawing[i][j]=1;//left leg
					if(j>=13 && j<=14)	drawing[i][j]=1;//right leg
				}
				
				if(i>=17 && i<=18){	//feet
					if(j>=3 && j<=4)	drawing[i][j]=1;//left foot
					if(j>=15 && j<=16)	drawing[i][j]=1;//right foot
				}
				
				if(i>=7 && i<=8){//arms
					if(j>=3 && j<=6)	drawing[i][j]=1;//left arm
					if(j>=13 && j<=16)	drawing[i][j]=1;//right arm
				}
				if(i>=9 && i<=10){//hands
					if(j>=1 && j<=2)	drawing[i][j]=1;//left hand
					if(j>=17 && j<=18)	drawing[i][j]=1;//right hand
				}
				if(i>=3 && i<=4){//ears
					if(j>=5 && j<=6)	drawing[i][j]=1;//left ear
					if(j>=13 && j<=14)	drawing[i][j]=1;//right ear
				}
				
				
			}	
		}
		
		printf("TAO(STILL): \n");
		for(i=0;i<20;i++){
			for(j=0;j<20;j++){
				printf("%d",drawing[i][j]);
			}	
			printf("\n");
		}
		printf("\n");
		//reset to 0
		for(i=0;i<20;i++){
			for(j=0;j<20;j++){
				drawing[i][j]=0;
			}	
		}
		//Raise right hand position(viewer's perspective)
		for(i=0;i<20;i++){
			for(j=0;j<20;j++){
				if(i==0 || j==0 || j==19 || i==19){//border
					drawing[i][j]=1;
				}
				if(j>=7 && j<=12 && i<=14){	//the main body
					drawing[i][j]=1;
				}

				if(i>=13 && i<=16){	//legs
					if(j>=13 && j<=14)	drawing[i][j]=1;//right leg
				}
				
				if(i>=13 && i<=14){	//left leg
					if(j>=3 && j<=6)	drawing[i][j]=1;//left leg
				}
				if(i>=17 && i<=18){	//right foot
					if(j>=15 && j<=16)	drawing[i][j]=1;//right foot
				}
				if(i>=15 && i<=16){	//left foot
					if(j>=1 && j<=2)	drawing[i][j]=1;//left foot
				}
				if(i>=7 && i<=8){//arms
					if(j>=3 && j<=6)	drawing[i][j]=1;//left arm
					if(j>=13 && j<=16)	drawing[i][j]=1;//right arm
				}
				if(i>=9 && i<=10){//left hand
					if(j>=1 && j<=2)	drawing[i][j]=1;//left hand
				}
				if(i>=5 && i<=6){//right hand
					if(j>=17 && j<=18)	drawing[i][j]=1;//right hand
				}
				if(i>=3 && i<=4){//ears
					if(j>=5 && j<=6)	drawing[i][j]=1;//left ear
					if(j>=13 && j<=14)	drawing[i][j]=1;//right ear
				}
				
				
			}	
		}
		
		
		printf("TAO(RIGHT HAND RAISED, viewer's perspective): \n");
		for(i=0;i<20;i++){
			for(j=0;j<20;j++){
				printf("%d",drawing[i][j]);
			}	
			printf("\n");
		}
		printf("\n");
		
			//reset to 0
		for(i=0;i<20;i++){
			for(j=0;j<20;j++){
				drawing[i][j]=0;
			}	
		}
		//Raise left hand position(viewer's perspective)
		for(i=0;i<20;i++){
			for(j=0;j<20;j++){
				if(i==0 || j==0 || j==19 || i==19){//border
					drawing[i][j]=1;
				}
				if(j>=7 && j<=12 && i<=14){	//the main body
					drawing[i][j]=1;
				}

				if(i>=13 && i<=16){	//left leg
					if(j>=5 && j<=6)	drawing[i][j]=1;//left leg
				}
				
				if(i>=13 && i<=14){	//right leg
					if(j>=13 && j<=16)	drawing[i][j]=1;//right leg
				}
				
				if(i>=17 && i<=18){	//left foot
					if(j>=3 && j<=4)	drawing[i][j]=1;//left foot
				}
				if(i>=15 && i<=16){	//right foot
					if(j>=17 && j<=18)	drawing[i][j]=1;//right foot
				}
				if(i>=7 && i<=8){//arms
					if(j>=3 && j<=6)	drawing[i][j]=1;//left arm
					if(j>=13 && j<=16)	drawing[i][j]=1;//right arm
				}
				if(i>=5 && i<=6){//left hand
					if(j>=1 && j<=2)	drawing[i][j]=1;//left hand
				}
				if(i>=9&& i<=10){//right hand
					if(j>=17 && j<=18)	drawing[i][j]=1;//right hand
				}
				if(i>=3 && i<=4){//ears
					if(j>=5 && j<=6)	drawing[i][j]=1;//left ear
					if(j>=13 && j<=14)	drawing[i][j]=1;//right ear
				}
				
				
			}	
		}
		
		
		printf("TAO(LEFT HAND RAISED, viewer's perspective): \n");
		for(i=0;i<20;i++){
			for(j=0;j<20;j++){
				printf("%d",drawing[i][j]);
			}	
			printf("\n");
		}
		printf("\n");
		
			//reset to 0
		for(i=0;i<20;i++){
			for(j=0;j<20;j++){
				drawing[i][j]=0;
			}	
		}
		//Raise both hands position(viewer's perspective)
		for(i=0;i<20;i++){
			for(j=0;j<20;j++){
				if(i==0 || j==0 || j==19 || i==19){//border
					drawing[i][j]=1;
				}
				if(j>=7 && j<=12 && i<=14){	//the main body
					drawing[i][j]=1;
				}

				if(i>=13 && i<=16){	//legs
					if(j>=5 && j<=6)	drawing[i][j]=1;//left leg
					if(j>=13 && j<=14)	drawing[i][j]=1;//right leg
				}
				
				if(i>=17 && i<=18){	//feet
					if(j>=3 && j<=4)	drawing[i][j]=1;//left foot
					if(j>=15 && j<=16)	drawing[i][j]=1;//right foot
				}
				if(i>=7 && i<=8){//arms
					if(j>=3 && j<=6)	drawing[i][j]=1;//left arm
					if(j>=13 && j<=16)	drawing[i][j]=1;//right arm
				}
				if(i>=5 && i<=6){//left hand
					if(j>=1 && j<=2)	drawing[i][j]=1;//left hand
					if(j>=17 && j<=18)	drawing[i][j]=1;//right hand
				}
			
				if(i>=3 && i<=4){//ears
					if(j>=5 && j<=6)	drawing[i][j]=1;//left ear
					if(j>=13 && j<=14)	drawing[i][j]=1;//right ear
				}
				
				
			}	
		}
		
		
		printf("TAO(BOTH HANDS RAISED): \n");
		for(i=0;i<20;i++){
			for(j=0;j<20;j++){
				printf("%d",drawing[i][j]);
			}	
			printf("\n");
		}
		printf("\n");
		
		//WALL
		//reset to 0
		for(i=0;i<20;i++){
			for(j=0;j<20;j++){
				drawing[i][j]=0;
			}	
		}
		
		
		for(i=0;i<20;i++){
			for(j=0;j<20;j++){
				if(i>=3 && i<=6){//draw first Hbar
					drawing[i][j]=1;
				}
				if(i>=13 && i<=16){//draw second Hbar
					drawing[i][j]=1;
				}
				if(i>=7 && i<=12 && j>=8 && j<=11){	//draw vertical Bar
					drawing[i][j]=1;
				}
				if(i>=0 && i<=2 && (j>=0 && j<=1 || j>=18 && j<=19 )){	//draw excess of first Hbar
					drawing[i][j]=1;
				}
				if(i>=17 && i<=19 && (j>=0 && j<=1 || j>=18 && j<=19 )){	//draw excess of second Hbar
					drawing[i][j]=1;
				}
			}	
		}
		
		//draw the floor
		printf("WALL: \n");
		for(i=0;i<20;i++){
			for(j=0;j<20;j++){	
				printf("%d",drawing[i][j]);
			}	
			printf("\n");
		}
		printf("\n");
}